package xdu.lz.aop.annotaion;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @date 2020/5/3 12:44
 */
//配置类，会被加载到Spring
@Configuration
@ComponentScan
//允许使用AOP
@EnableAspectJAutoProxy
//开启CGLIB代理，默认是false
//@EnableAspectJAutoProxy(proxyTargetClass=true)
public class Config {
}
